body {
    background: #FFFFFF;
    color: #585858;
    font-family: 'Exo 2', sans-serif;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
}

h1 {
    font-weight: 300;
    padding-top: 20px;
    margin: 20px 0;
}

.inspiration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-style: oblique;
}

.item-menu {
    padding-top: 20px;
    height: 250px;
    box-sizing: border-box;
    font-size: 20px;
    text-align: center;
    filter: url("#shadowed-goo");

    .real-menu {
        transform: translate3d(0, -65px, 0);
        transition: transform ease-out 200ms;
    }

    .menu-item {
        background: #12CC66;
        border-radius: 100%;
        width: 80px;
        height: 80px;
        color: white;
        text-align: center;
        line-height: 80px;
        transition: transform ease-out 200ms;
        display: inline-block;
        position: relative;
    }

    .menu-open-button {
        background: #12CC66;
        border-radius: 100%;
        width: 80px;
        height: 80px;
        color: white;
        text-align: center;
        line-height: 80px;
        transition: transform ease-out 200ms;
        display: inline-block;
        position: relative;
        width: 40px;
        height: 40px;
    }

    .menu-open {
        display: none;
    }

    .plus {
        width: 18px;
        height: 2px;
        background: white;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -9px;
        margin-top: -1px;
        transition: transform 200ms;

        &.plus-1 {
            transform: rotate(90deg) translate3d(0, 0, 0);
        }

        &.plus-2 {
            transform: rotate(0) translate3d(0, 0, 0);
        }
    }

    .menu-item {
        &:hover {
            background: white;
            color: #12CC66;
        }

        &:nth-child(1) {
            transition-duration: 70ms;
            transform: translate3d(171px, 0, 0) scale(0.5);
        }

        &:nth-child(2) {
            transition-duration: 130ms;
            transform: translate3d(85.5px, 0, 0) scale(0.5);
        }

        &:nth-child(3) {
            transition-duration: 190ms;
            transform: translate3d(0, 0, 0) scale(0.5);
        }

        &:nth-child(4) {
            transition-duration: 130ms;
            transform: translate3d(-85.5px, 0, 0) scale(0.5);
        }

        &:nth-child(5) {
            transition-duration: 70ms;
            transform: translate3d(-171px, 0, 0) scale(0.5);
        }

        &:after {
            content: attr(data-name);
            position: absolute;
            font-size: 14px;
            font-weight: 500;
            color: #12CC66;
            line-height: 40px;
            left: 50%;
            white-space: nowrap;
            transform: translate3d(-50%, 0, 0);
            display: none;
        }
    }

    .menu-open-button {
        z-index: 2;
        transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
        transition-duration: 400ms;
        transform: scale(1.1, 1.1) translate3d(0, 0, 0);
        cursor: pointer;

        &:hover {
            transform: scale(1.2, 1.2) translate3d(0, 0, 0);
        }
    }

    .menu-open:checked {
        + .menu-open-button {
            transition-timing-function: linear;
            transition-duration: 200ms;
            transform: scale(1, 1) rotate(-45deg) translate3d(0, 0, 0);
        }

        ~ .real-menu {
            transform: translate3d(0, 5px, 0);
            .menu-item {
                transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
                transform: translate3d(0, 0, 0);
                &:nth-child(1) {
                    transition-duration: 320ms;
                }

                &:nth-child(2) {
                    transition-duration: 240ms;
                }

                &:nth-child(3) {
                    transition-duration: 160ms;
                }

                &:nth-child(4) {
                    transition-duration: 240ms;
                }

                &:nth-child(5) {
                    transition-duration: 320ms;
                }

                &:after {
                    display: block;
                }
            }
        }
    }
}